﻿export default url => {
    const crud = window.$crud(url)
    const getData =  (id) => window.$axios({
        url: `${url}/data/${id}`,
        method: 'get'
    })
    return {
        ...crud,
        getData
    }
}